From: Jim Blandy Date: Wed, 26 May 1993 21:34:10 +0000 (+0000) Subject: * config.guess: New file. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95921 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=334e7c2394e07a0c8f340d3c25ca00f07c46ece5;p=emacs.git * config.guess: New file. * configure.in: Use it, tentatively. --- diff --git a/configure1.in b/configure1.in index b949da92abf..be1dbb6aa78 100755 --- a/configure1.in +++ b/configure1.in @@ -273,12 +273,18 @@ Set it to either \`yes' or \`no'." done if [ "${configuration}" = "" ]; then - (echo "${progname}: You must specify a configuration name as an argument." - echo "${short_usage}") >&2 - exit 1 + echo '- You did not tell me what kind of host system you want to configure. +- I will attempt to guess the kind of system this is.' 1>&2 + guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` + if configuration=`${guesssys}` ; then + echo "- Looks like this is a ${configuration}" 1>&2 + else + echo '- Failed to guess the system type. You need to tell me.' 1>&2 + echo "${short_usage}") >&2 + exit 1 + fi fi - #### Decide where the source is. case "${srcdir}" in